<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<ui:composition xmlns="http://www.w3.org/1999/xhtml"
    xmlns:ui="http://java.sun.com/jsf/facelets"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:p="http://primefaces.org/ui">
    <h:form>
	<p:panel style="width:800px; font-size : 10pt; align : center">
		<f:facet name="header">
		<h2 style="text-align: center">
			Pharmacy Web Application
		</h2>
		<h:commandLink value="Main Home" action="mainhome.jsf" />
		<p:spacer width="20"/>
		<h:commandLink value="User Home" action="userhome.jsf" />
		<p:spacer width="20"/>
		<h:commandLink value="Medication Home" action="medicationhome.jsf" />
		<p:spacer width="20"/>
		<h:commandLink value="Patient Home" action="patienthome.jsf" />
		<p:spacer width="20"/>
		<h:commandLink value="Inventory Home" action="inventoryhome.jsf" />
		<p:spacer width="20"/>
		<p:commandLink value="Log Out" action="#{userBean.logout}" />
		
		<p:spacer width="20"/>
		</f:facet>
	</p:panel>
	</h:form>
</ui:composition>

